import uviewPlus from 'uview-plus'
import { createSSRApp } from 'vue'

import App from './App.vue'
import store from './store'
import { reqeust } from './config/request'

uni.$u.config.unit = 'rpx'
export function createApp() {
  const app = createSSRApp(App)
  app.use(uviewPlus)
  app.use(store)
  reqeust(store)
  return {
    app,
  }
}
